package com.zlt.bkparking.mapper;

import com.zlt.bkparking.entity.RedBlack;
import com.zlt.bkparking.entity.RedBlackExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface RedBlackMapper {
    long countByExample(RedBlackExample example);

    int deleteByExample(RedBlackExample example);

    int deleteByPrimaryKey(Long rbId);

    int insert(RedBlack record);

    int insertSelective(RedBlack record);

    List<RedBlack> selectByExample(RedBlackExample example);

    RedBlack selectByPrimaryKey(Long rbId);

    int updateByExampleSelective(@Param("record") RedBlack record, @Param("example") RedBlackExample example);

    int updateByExample(@Param("record") RedBlack record, @Param("example") RedBlackExample example);

    int updateByPrimaryKeySelective(RedBlack record);

    int updateByPrimaryKey(RedBlack record);
}